package com.sqbang.dbcompare.aop;

import java.lang.annotation.*;

/**
 * 权限校验标志
 * @author suqiongbang
 * @date 2025/10/31 14:13
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AuthorityCheck {

    /**
     * 是否要权限校验
     *
     * @return
     */
    boolean flag() default true;

}